package com.paramInjector;

import java.lang.annotation.Annotation;
import java.util.HashMap;

public class ParameterAnnotation extends HashMap<Class<? extends Annotation>, Annotation> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public ParameterAnnotation() {
	}
	public ParameterAnnotation(Annotation annotations[]) {
		if(annotations!=null&&annotations.length>0){
			for (Annotation annotation : annotations) {
				if(annotation!=null){
					put(annotation.annotationType(), annotation);
				}
			}
		}
	}
}
